-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
IUtf8SpanParsable`1.xml
122 lines (122 loc) · 7.88 KB
/
IUtf8SpanParsable`1.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<Type Name="IUtf8SpanParsable<TSelf>" FullName="System.IUtf8SpanParsable<TSelf>">
<TypeSignature Language="C#" Value="public interface IUtf8SpanParsable<TSelf> where TSelf : IUtf8SpanParsable<TSelf>" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IUtf8SpanParsable`1<(class System.IUtf8SpanParsable`1<!TSelf>) TSelf>" />
<TypeSignature Language="DocId" Value="T:System.IUtf8SpanParsable`1" />
<TypeSignature Language="VB.NET" Value="Public Interface IUtf8SpanParsable(Of TSelf)" />
<TypeSignature Language="F#" Value="type IUtf8SpanParsable<'Self (requires 'Self :> IUtf8SpanParsable<'Self>)> = interface" />
<TypeSignature Language="C++ CLI" Value="generic <typename TSelf>
 where TSelf : IUtf8SpanParsable<TSelf>public interface class IUtf8SpanParsable" />
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeParameters>
<TypeParameter Name="TSelf">
<Constraints>
<InterfaceName>System.IUtf8SpanParsable<TSelf></InterfaceName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Interfaces />
<Docs>
<typeparam name="TSelf">The type that implements this interface.</typeparam>
<summary>Defines a mechanism for parsing a span of UTF-8 characters to a value.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="Parse">
<MemberSignature Language="C#" Value="public static abstract TSelf Parse (ReadOnlySpan<byte> utf8Text, IFormatProvider? provider);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig virtual !TSelf Parse(valuetype System.ReadOnlySpan`1<unsigned int8> utf8Text, class System.IFormatProvider provider) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IUtf8SpanParsable`1.Parse(System.ReadOnlySpan{System.Byte},System.IFormatProvider)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Parse (utf8Text As ReadOnlySpan(Of Byte), provider As IFormatProvider) As TSelf" />
<MemberSignature Language="F#" Value="static member Parse : ReadOnlySpan<byte> * IFormatProvider -> 'Self" Usage="System.IUtf8SpanParsable<'Self (requires 'Self :> System.IUtf8SpanParsable<'Self>)>.Parse (utf8Text, provider)" />
<MemberSignature Language="C++ CLI" Value="public:
 static TSelf Parse(ReadOnlySpan<System::Byte> utf8Text, IFormatProvider ^ provider);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>TSelf</ReturnType>
<Attributes>
<Attribute FrameworkAlternate="net-8.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(1)>]</AttributeName>
</Attribute>
</Attributes>
</ReturnValue>
<Parameters>
<Parameter Name="utf8Text" Type="System.ReadOnlySpan<System.Byte>" />
<Parameter Name="provider" Type="System.IFormatProvider">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(2)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="utf8Text">The span of UTF-8 characters to parse.</param>
<param name="provider">An object that provides culture-specific formatting information about <paramref name="utf8Text" />.</param>
<summary>Parses a span of UTF-8 characters into a value.</summary>
<returns>The result of parsing <paramref name="utf8Text" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.FormatException">
<paramref name="utf8Text" /> is not in the correct format.</exception>
<exception cref="T:System.OverflowException">
<paramref name="utf8Text" /> is not representable by <typeparamref name="TSelf" />.</exception>
</Docs>
</Member>
<Member MemberName="TryParse">
<MemberSignature Language="C#" Value="public static abstract bool TryParse (ReadOnlySpan<byte> utf8Text, IFormatProvider? provider, out TSelf result);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig virtual bool TryParse(valuetype System.ReadOnlySpan`1<unsigned int8> utf8Text, class System.IFormatProvider provider, [out] !TSelf& result) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IUtf8SpanParsable`1.TryParse(System.ReadOnlySpan{System.Byte},System.IFormatProvider,`0@)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function TryParse (utf8Text As ReadOnlySpan(Of Byte), provider As IFormatProvider, ByRef result As TSelf) As Boolean" />
<MemberSignature Language="F#" Value="static member TryParse : ReadOnlySpan<byte> * IFormatProvider * 'Self -> bool" Usage="System.IUtf8SpanParsable<'Self (requires 'Self :> System.IUtf8SpanParsable<'Self>)>.TryParse (utf8Text, provider, result)" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool TryParse(ReadOnlySpan<System::Byte> utf8Text, IFormatProvider ^ provider, [Runtime::InteropServices::Out] TSelf % result);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="utf8Text" Type="System.ReadOnlySpan<System.Byte>" />
<Parameter Name="provider" Type="System.IFormatProvider">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(2)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="result" Type="TSelf" RefType="out">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(1)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="utf8Text">The span of UTF-8 characters to parse.</param>
<param name="provider">An object that provides culture-specific formatting information about <paramref name="utf8Text" />.</param>
<param name="result">On return, contains the result of successfully parsing <paramref name="utf8Text" /> or an undefined value on failure.</param>
<summary>Tries to parse a span of UTF-8 characters into a value.</summary>
<returns>
<see langword="true" /> if <paramref name="utf8Text" /> was successfully parsed; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>